package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author 小坏
 * @Date 2021/2/26 15:30
 * @Version 1.0
 * @program: 父工程 gulimall 万物起源之地
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {


    @RequestMapping("product/skuinfo/info/{skuId}")
    public R getSkuInfo(@PathVariable("skuId") Long skuId);
}
